import 'dart:convert';

import 'package:flutter/foundation.dart';



Future cyJsonDecode(String text) async{
  var data = await compute(jsonDecode,text);
  return data;
}

Future<String> cyJsonEncode(Object data) async {
  String text = await compute(jsonEncode ,data);
  return text;
}